package com.javastudy.autowiredStudy.initBean;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 * @author mac
 * @date 2021/9/6 6:38 下午
 */
@Service
public class InitBeanByPostConstruct {

    @PostConstruct
    public void initBean(){
        //初始化逻辑
    }
}

